/* 接口测试文档样式 */
.api-docs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.api-docs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e1e5e9;
}

.api-docs-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 24px;
}

.api-docs-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.api-docs-content h1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: 0;
    padding: 20px 30px;
    font-size: 28px;
    font-weight: 600;
}

.api-docs-content h2 {
    color: #2c3e50;
    font-size: 22px;
    margin: 30px 0 20px 0;
    padding: 15px 30px;
    background: #f8f9fa;
    border-left: 4px solid #667eea;
}

.api-docs-content h3 {
    color: #34495e;
    font-size: 18px;
    margin: 25px 0 15px 0;
    padding: 0 30px;
}

.api-docs-content p,
.api-docs-content ul,
.api-docs-content ol {
    padding: 0 30px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.api-docs-content ul {
    padding-left: 50px;
}

.api-docs-content li {
    margin-bottom: 8px;
}

.api-docs-content strong {
    color: #2c3e50;
    font-weight: 600;
}

.api-docs-content code {
    background: #f1f2f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    color: #e74c3c;
}

.api-docs-content pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 20px 30px;
    margin: 15px 0;
    border-radius: 6px;
    overflow-x: auto;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
}

.api-docs-content pre code {
    background: none;
    padding: 0;
    color: inherit;
    border-radius: 0;
}

.api-docs-content blockquote {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    margin: 20px 0;
    padding: 15px 30px;
    border-radius: 0 6px 6px 0;
}

.api-docs-content blockquote p {
    margin: 0;
    padding: 0;
    color: #856404;
}

.api-docs-content blockquote strong {
    color: #856404;
}

/* 表格样式 */
.api-docs-content table {
    width: calc(100% - 60px);
    margin: 20px 30px;
    border-collapse: collapse;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.api-docs-content th,
.api-docs-content td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e1e5e9;
}

.api-docs-content th {
    background: #667eea;
    color: white;
    font-weight: 600;
}

.api-docs-content tr:hover {
    background: #f8f9fa;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .api-docs-container {
        padding: 10px;
    }
    
    .api-docs-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .api-docs-content h1 {
        font-size: 24px;
        padding: 15px 20px;
    }
    
    .api-docs-content h2 {
        font-size: 20px;
        padding: 12px 20px;
    }
    
    .api-docs-content h3 {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .api-docs-content p,
    .api-docs-content ul,
    .api-docs-content ol {
        padding: 0 20px;
    }
    
    .api-docs-content pre {
        padding: 15px 20px;
        font-size: 12px;
    }
    
    .api-docs-content blockquote {
        padding: 12px 20px;
    }
    
    .api-docs-content table {
        width: calc(100% - 40px);
        margin: 15px 20px;
        font-size: 14px;
    }
    
    .api-docs-content th,
    .api-docs-content td {
        padding: 8px 10px;
    }
}

/* 滚动条样式 */
.api-docs-content::-webkit-scrollbar {
    width: 8px;
}

.api-docs-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.api-docs-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.api-docs-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 开发工具面板样式 */
.dev-tools-section {
    padding: 15px 0;
}

.dev-tools-section .section-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.dev-tools-section .help-text {
    display: block;
    color: #888;
    font-size: 12px;
    margin-top: 5px;
    line-height: 1.4;
}

.dev-tools-section .btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.dev-tools-section .btn-secondary:hover {
    background: #5a6268;
}